package dataobjects;

import java.util.ArrayList;
import java.util.List;

public class HistoryQuery implements Query {

	List<Long> ids;
	
	
	
	
	public HistoryQuery(List<Long> idList) {
		this.setIds( idList );
	}

	public HistoryQuery(){
		this.ids = new ArrayList<Long>();
	}
	


	public List<Long> getIds() {
		return ids;
	}


	public void setIds(List<Long> ids) {
		this.ids = ids;
	}

	public void addIdToList(Long id) {
		this.ids.add(id);
	}

	



	public int getType() {
		return Query.HISTORY_QUERY;
	}

}
